package cn.gd.pojo;

import java.util.Date;

public class SysLog {
    private long id;

    private String uri;

    private String userId;

    private String daoMethodName;

    private String ip;

    private String wholeSql;

    private String desc;

    private Date createDate;

    private Users users;
    private Roles roles;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public String getDaoMethodName() {
        return daoMethodName;
    }

    public void setDaoMethodName(String daoMethodName) {
        this.daoMethodName = daoMethodName;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getWholeSql() {
        return wholeSql;
    }

    public void setWholeSql(String wholeSql) {
        this.wholeSql = wholeSql;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Users getUsers() {
        return users;
    }

    public void setUsers(Users users) {
        this.users = users;
    }

    public Roles getRoles() {
        return roles;
    }

    public void setRoles(Roles roles) {
        this.roles = roles;
    }

    @Override
    public String toString() {
        return "SysLog{" +
                "id=" + id +
                ", uri='" + uri + '\'' +
                ", userId='" + userId + '\'' +
                ", daoMethodName='" + daoMethodName + '\'' +
                ", ip='" + ip + '\'' +
                ", wholeSql='" + wholeSql + '\'' +
                ", desc='" + desc + '\'' +
                ", createDate=" + createDate +
                '}';
    }
}
